package com.hdd.biz.painting.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 裱框背景分类表
 * </p>
 *
 * @author fang
 * @since 2021-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_biz_material_kind")
@ApiModel(value="MaterialKind对象", description="裱框背景分类表")
public class MaterialKind implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "分类名称")
    private String name;

    @ApiModelProperty(value = "名称描述介绍")
    private String description;

    @ApiModelProperty(value = "种类图片")
    private String coverUrl;

    @ApiModelProperty(value = "种类纯色色值")
    private String coverColor;

    @ApiModelProperty(value = "1:图片，2:色值")
    private Integer coverType;

    @ApiModelProperty(value = "2:裱框，3:背景")
    private Integer type;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建人id")
    private String createBy;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "最后修改人id")
    private String updateBy;

    @ApiModelProperty(value = "最后修改日期")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "备注信息")
    private String remarks;

    @ApiModelProperty(value = "删除标记位,0:正常; 1:删除")
    private Integer delFlag;

    @TableField(exist = false)
    private List<FileInfo> materIalList;


}
